package com.woniuxy.controller;

import com.woniuxy.service.NurseService;
import com.woniuxy.util.ResponseData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/nurse")
public class NurseController {
    @Autowired
    NurseService nurseService;

    @GetMapping("/querynurse")
    public ResponseData queryNurse(){
        return nurseService.queryNurse();
    }
}
